<?php /* Smarty version 2.6.18, created on 2010-03-12 09:24:15
         compiled from tanklist.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'tanklist.tpl', 15, false),)), $this); ?>

					<table border="0" width="100%">
						<tr><td colspan="5"><hr></td></tr>
						<tr>
						<?php if ($this->_tpl_vars['tanks'][0]['name'] <> ''): ?>
							<td align="center" style="padding-left: 5pt; padding-right:5pt" width="80px">Edit</td>
						<?php endif; ?>
							<td>Name</td>
							<td width="300px">Description</td>
							<td align="right">Installed</td>
							<td align="right">Dimensions</td>
						</tr>
						<tr><td colspan="5"><hr></td></tr>
						<?php $_from = $this->_tpl_vars['tanks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['tank']):
?>
						<tr class="<?php echo smarty_function_cycle(array('values' => 'blue,notify'), $this);?>
">
							<td align="center">
								<a href="javascript:void(0);" onclick="editTank('<?php echo $this->_tpl_vars['tank']['tank_id']; ?>
');">Edit</a>
							</td>					
							<td><?php echo $this->_tpl_vars['tank']['name']; ?>
</td>
							<td><?php echo $this->_tpl_vars['tank']['description']; ?>
</td>
							<td align="right"><?php echo $this->_tpl_vars['tank']['date_installed']; ?>
</td>
							<td align="right"><?php echo $this->_tpl_vars['tank']['dimensions']; ?>
</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
					</table>
				</div>
